package com.hospital.hospital.service;

import com.hospital.hospital.bean.Department;

import java.util.List;

public interface DepartmentService {

    void addDep(Department department)throws Exception;
    List<Department> queryAll()throws Exception;
    void deleteDep(Integer departmentId) throws Exception;
    List<Department> queryLike(String likestr)throws Exception;

    void qh(Integer departmentId) throws Exception;

    Department queryById(Integer departmentId) throws Exception;

    void set(Department department) throws Exception;

    List<Department> queryByPage(Integer page);
}
